package com.itcast.infohide.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("operate_log")
public class OperateLogPO {

    private String id;

    @SerializedName(value = "carrier_image")
    private String carrierImage;//载体图像

    @SerializedName(value = "image_key")
    private String imageKey;//图像密钥

    @SerializedName(value = "secret_data")
    private String secretData;//秘密信息

    @SerializedName(value = "encrypted_image")
    private String encryptedImage;//加密图像

    @SerializedName(value = "carrier_encrypted_image")
    private String carrierEncryptedImage;//载密加密图像

    @SerializedName(value = "extracted_secret_data")
    private String extractedSecretData;//提取的秘密信息

    @SerializedName(value = "restored_image")
    private String restoredImage;//恢复后的图像

    @SerializedName(value = "user_id")
    private String userId;

    @SerializedName(value = "create_time")
    private String createTime;

    @SerializedName(value = "data_key")
    private String dataKey;

    @SerializedName(value = "contain_secret_image")
    private String containSecretImage;

    @SerializedName(value = "is_plaintext")
    private int isPlaintext; //是否为明文;0:是  1:否

    @SerializedName(value = "is_embed")
    private int isEmbed; //是否为嵌入;0:是  1:否

    @SerializedName(value = "ciphertext_type")
    private int ciphertextType; //0:提取；1:恢复图像；2:提取并恢复；

    private MultipartFile carrierFile;

    private MultipartFile encryptedFile;

    private MultipartFile carrierEncryptedFile;

    private MultipartFile restoredFile;

    private MultipartFile containSecretFile;


}
